import { makeNumberProp, makeStringProp } from 'wot-design-uni/components/common/props'
export type CardDirection = 'horizontal' | 'vertical'

export const cardProps = {
  direction: makeStringProp<CardDirection>('vertical'),
  brand: makeStringProp<string>(''),
  cartonSpec: makeStringProp<string>(''),
  coverCustomer: makeStringProp<string>(''),
  createBy: makeStringProp<string>(''),
  createTime: makeStringProp<string>(''),
  id: makeStringProp<string>(''),
  isDeleted: makeStringProp<string>(''),
  l1Type: makeStringProp<string>(''),
  l1TypeCode: makeStringProp<string>(''),
  l2Type: makeStringProp<string>(''),
  l2TypeCode: makeStringProp<string>(''),
  mainPic: makeStringProp<string>(''),
  otherCode: makeStringProp<string>(''),
  productName: makeStringProp<string>(''),
  productSpec: makeStringProp<string>(''),
  purchasePrice: makeNumberProp<number>(0),
  status: makeStringProp<string>(''),
  supplyPrice: makeNumberProp<number>(1),
  tenantId: makeStringProp<string>(''),
  type: makeStringProp<string>(''),
  upcCode: makeStringProp<string>(''),
  updateBy: makeStringProp<string>(''),
  updateTime: makeStringProp<string>(''),
  weight: makeNumberProp<number>(0),
  quantity: makeNumberProp<number>(0),
}
